﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Model;
namespace DAL
{
    public class StudentDAL
    {
       public  List<Student> GetStudentsFromMock() {
        
           List<Student> lstStudent = new List<Student>();
           Random rnd = new Random();
           for (int i = 0; i < 5; i++)
           {
               Student student = new Student();
               student.StuName = "张" + i.ToString();
               //取随机的分数
               student.Score = rnd.Next(100);
               lstStudent.Add(student);
           }
           return lstStudent;
        }
    }
}
